package com.orangelife.setting.constant;

public class Regex {
	private Regex() {
	}

	/** UUID格式 */
	public static final String UUID_FORMAT = "(^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$)";

	/** UUID格式,长度36 */
	public static final String UUID_FORMAT_LENGTH = "(^[0-9a-zA-Z]{8}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{4}-[0-9a-zA-Z]{12}$){36}";
	/** 小数 */
	public static final String DOUBLE = "[-+]?[0-9]+(\\.[0-9]+)?";

	/** 数字 **/
	public static final String INT = "^[0-9_]+$";

	/** 时间戳 **/
	public static final String TIMESTAMP = "^1\\d{12}";

	/** 时间 **/
	public static final String TIME = "^[0-9_]+${8,13}";

}
